//
//  TopApiLogin.h
//  mcf
//
//  Created by yuike6 yuike6 on 12-1-19.
//  Copyright (c) 2012年 yuike. All rights reserved.
//

#import "TopApi.h"

@class TopApiRecvData;

@interface TopApiLogin : TopApi
{
    NSString * key_;
    NSString * topsession_;
    NSString * sid_;
    NSString * nick_;
    NSString * token_;
    NSString * ecode_;
    
    NSString * loginUrl_;
    NSString * topKey_;
    
    NSString * topToken_;
    NSString * appKey_;
    
    BOOL autoLogin_;
    
}

@property (nonatomic, copy) NSString * key;
@property (nonatomic, copy) NSString * topsession;
@property (nonatomic, copy) NSString * sid;
@property (nonatomic, copy) NSString * nick;
@property (nonatomic, copy) NSString * token;
@property (nonatomic, copy) NSString * ecode;
@property (nonatomic, copy) NSString * loginUrl;
@property (nonatomic, copy) NSString * topKey;

@property (nonatomic, copy) NSString * topToken;
@property (nonatomic, copy) NSString * appKey;

@property (nonatomic, assign) BOOL autoLogin;

- (NSString *) topApiUrl : (NSString *) appkey 
              callbackUrl:(NSURL *) callbackUrlValue;
- (NSString *) loginUrlByTopApiRecvData: (TopApiRecvData *)topApiRecvData;


//- (BOOL) isPastDue;

@end